package com.woniuxy.service;

import com.woniuxy.entity.RbacPerm;
import com.woniuxy.entity.ResponseEntity;
import java.util.Set;

public interface RbacPermService {
    ResponseEntity findAll(int currentPage, int pageSize);
    ResponseEntity findOne(int id);
    ResponseEntity addOne(RbacPerm rbacPerm);
    ResponseEntity deleteOne(int id);
    ResponseEntity updateOne(RbacPerm rbacPerm);
    ResponseEntity search(int currentPage, int pageSize, String key, String key1);
    Set<String> findPermBySetRoles(String username);
}
